package com.uchedao.vehicledetection.adapter;

import android.content.Context;
import android.widget.TextView;

import com.uchedao.vehicledetection.R;

import java.util.List;

/**
 * Created by hang on 2015/9/14.
 */
public class CityListAdapter extends CommonAdapter<String> {
    public CityListAdapter(Context context, List<String> data) {
        super(context, data, R.layout.item_city);
    }

    @Override
    public void conver(ViewHolder holder, String item, int position) {
        ((TextView)holder.getConvertView()).setText(item);
    }
}
